package org.dromara.netbar.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.netbar.domain.NetbarAutoGrant;
import org.dromara.netbar.domain.vo.NetbarAutoGrantVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 自动发放策略Mapper接口
 *
 * @author Lion Li
 * @date 2025-07-10
 */
public interface NetbarAutoGrantMapper extends BaseMapperPlus<NetbarAutoGrant, NetbarAutoGrantVo> {
    List<NetbarAutoGrantVo> selectAutoGrant(@Param("tenantId") String tenantId,@Param("amount") Long amount);
}
